package com.cyf.plc.bean

import androidx.annotation.Keep
import com.squareup.moshi.JsonClass

@Keep
@JsonClass(generateAdapter = true)
class FloorRoomResponse {
    var msg: String? = null
    var code = 0
    var data: List<DataBean>? = null

    @Keep
    @JsonClass(generateAdapter = true)
    class DataBean {
        var id: String? = null
        var deviceId: String? = null
        var name: String? = null
        var brand: String? = null
        var description: String? = null
        var order = 0
        var pointTableId = 0
        var createTime: String? = null
        var floorName: String? = null
        var updateTime: String? = null
        var createUserId: String? = null
        var pannelList: List<PannelBean>? = null



        @Keep
        @JsonClass(generateAdapter = true)
        class PannelBean {
            var id: String? = null
            var deviceId: String? = null
            var name: String? = null
            var brand: String? = null
            var description: String? = null
            var order = 0
            var pointTableId = 0
            var createTime: String? = null
            var floorName: String? = null
            var updateTime: String? = null
            var createUserId: String? = null

            override fun toString(): String {
                return "PannelBean(id=$id, deviceId=$deviceId, name=$name, brand=$brand, description=$description, order=$order, pointTableId=$pointTableId, createTime=$createTime, floorName=$floorName, updateTime=$updateTime, createUserId=$createUserId,)"
            }

        }

        override fun toString(): String {
            return "DataBean(id=$id, deviceId=$deviceId, name=$name, brand=$brand, description=$description, order=$order, pointTableId=$pointTableId, createTime=$createTime, floorName=$floorName, updateTime=$updateTime, createUserId=$createUserId, pannelList=$pannelList)"
        }
    }

    override fun toString(): String {
        return "FloorRoomResponse(msg=$msg, code=$code, data=$data)"
    }
}